﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sandbox.Utils;
using GameLib.Main;
using Sandbox.Serialization;
using GameLib.Utils;

namespace Sandbox.Main
{
	public class Client
	{
		public virtual void Initialize()
		{
			InitTypeNameTable();

			Core.ContentFolder = "../../Content/";

			Core.DataHandler = new GameDataHandler();
			
			/*
			GameSerializer.RegisterExtraGameData();
			
			Core.World = new GameWorld();
			Core.World.Initialize();*/

		}

		private void InitTypeNameTable()
		{
			TypeNameTable.LoadAssembly("GameLib");
			TypeNameTable.LoadAssembly("Sandbox");
		}

	}
}
